package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 摄像头能力对象 carmeras_ability
 * 
 * @author ruoyi
 * @date 2021-03-15
 */
public class CarmerasAbility extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 摄像头数据id */
    @Excel(name = "摄像头数据id")
    private Integer cameraid;

    /** 能力名称 */
    @Excel(name = "能力名称")
    private String abiname;

    /** 能力请求地址 */
    @Excel(name = "能力请求地址")
    private String apiurl;

    /** 请求方式 */
    @Excel(name = "请求方式")
    private String method;

    /** 参数(json的方式传) */
    @Excel(name = "参数(json的方式传)")
    private String reqparam;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public Integer getCameraid() {
        return cameraid;
    }

    public void setCameraid(Integer cameraid) {
        this.cameraid = cameraid;
    }

    public void setAbiname(String abiname)
    {
        this.abiname = abiname;
    }

    public String getAbiname() 
    {
        return abiname;
    }
    public void setApiurl(String apiurl) 
    {
        this.apiurl = apiurl;
    }

    public String getApiurl() 
    {
        return apiurl;
    }
    public void setMethod(String method)
    {
        this.method = method;
    }

    public String getMethod()
    {
        return method;
    }
    public void setReqparam(String reqparam)
    {
        this.reqparam = reqparam;
    }

    public String getReqparam() 
    {
        return reqparam;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cameraid", getCameraid())
            .append("abiname", getAbiname())
            .append("apiurl", getApiurl())
            .append("method", getMethod())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("reqparam", getReqparam())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
